package edu.hrbu.spring.service.impl;

import edu.hrbu.spring.mapper.ActMapper;
import edu.hrbu.spring.pojo.Act;
import edu.hrbu.spring.service.ActService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author 徐登宇
 */
@Service
public class ActServiceImpl implements ActService {

    @Resource(name = "actMapper")
    ActMapper actMapper;

    @Override
    public Act getByNo(Integer no) {
        return actMapper.selectByNo(no);
    }
}
